package com.fdb.efp.nls.service.facade;

import com.fdb.efp.nls.service.vo.ColltWriteOffAppVO;

import java.util.List;

/**
 * 核销服务
 *
 * @param ${params}
 * @author xieziwei
 * @version 0.1
 * @return ${return}
 * @date 2019/9/18 9:26
 */

public interface ColltWriteOffAppService {

    /**
     * 新增数据
     * @param colltWriteOffAppVo
     * @return
     */
    public int insertColltWriteOffApp(ColltWriteOffAppVO colltWriteOffAppVo);

    /**
     * 根据主键删除信息
     * @param colltWriteOffAppVo
     * @return
     */
    public int deleteByPk(ColltWriteOffAppVO colltWriteOffAppVo);

    /**
     * 根据主键更新信息
     * @param colltWriteOffAppVo
     * @return
     */
    public int updateByPk(ColltWriteOffAppVO colltWriteOffAppVo);

    public int updateByCondition(ColltWriteOffAppVO colltWriteOffAppVo);

    /**
     * 根据主键查询详情
     * @param colltWriteOffAppVo
     * @return
     */
    public List<ColltWriteOffAppVO> queryByPk(ColltWriteOffAppVO colltWriteOffAppVo);
    public List<ColltWriteOffAppVO> queryByPkByPage(ColltWriteOffAppVO colltWriteOffAppVo);

    /**
     * 按照权限查询数据
     * @author xiezw
     * @params  * @param null
     * @return
     * @date 2020/3/9 15:33
     * @version 0.1
     */
    public List<ColltWriteOffAppVO> queryAllOwner(ColltWriteOffAppVO colltWriteOffAppVo);

    public List<ColltWriteOffAppVO> queryAllCurrOrg(ColltWriteOffAppVO colltWriteOffAppVo);

    public List<ColltWriteOffAppVO> queryAllCurrDownOrg(ColltWriteOffAppVO colltWriteOffAppVo);

    public List<ColltWriteOffAppVO> queryAllCurrOwnerPrd(ColltWriteOffAppVO colltWriteOffAppVo);

    /**
     * 根据条件查询核销申请表
     * @author xiezw
     * @params  * @param null
     * @return
     * @date 2020/3/12 9:24
     * @version 0.1
     */
    public List<ColltWriteOffAppVO> queryAllByCondition(ColltWriteOffAppVO colltWriteOffAppVo);
}
